repo.or.cz
/
andmenj-acm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Solving 10385 - Duathlon (Ternary search)
[andmenj-acm.git]
/
321 - The New Villa
/
in.txt
blob
4de472106b4a566409c6855741afede4278642a9
1
1 0 1
2
1 1
3
4
1 0 0
5
6
2 0 0
7
8
10 9 18
9
1 2
10
2 3
11
3 4
12
4 5
13
5 6
14
6 7
15
7 8
16
8 9
17
9 10
18
1 2
19
1 3
20
1 4
21
1 5
22
1 6
23
1 7
24
1 8
25
1 9
26
1 10
27
10 1
28
10 2
29
10 3
30
10 4
31
10 5
32
10 6
33
10 7
34
10 8
35
10 9
36
37
5 4 5
38
1 2
39
1 3
40
1 4
41
1 5
42
1 2
43
2 3
44
3 4
45
4 5
46
5 1
47
48
5 4 5
49
1 2
50
1 3
51
2 4
52
1 5
53
1 2
54
2 3
55
3 4
56
4 5
57
5 1
58
59
10 9 13
60
1 2
61
2 3
62
3 4
63
1 5
64
4 6
65
1 7
66
4 8
67
1 9
68
4 10
69
1 2
70
2 3
71
3 4
72
4 5
73
5 6
74
6 7
75
7 8
76
8 9
77
9 10
78
2 1
79
3 2
80
4 3
81
10 4
82
83
3 3 4
84
1 2
85
1 3
86
3 2
87
1 2
88
1 3
89
2 1
90
3 2
91
92
2 1 2
93
2 1
94
1 1
95
1 2
96
97
4 3 3
98
1 2
99
2 3
100
3 4
101
2 1
102
3 2
103
4 3
104
105
4 3 6
106
1 2
107
2 3
108
3 4
109
1 2
110
2 1
111
2 3
112
3 2
113
3 4
114
4 3
115
116
0 0 0